
#include <iostream>
#include "ASUS.h"

ASUS::ASUS(int mid)
    : Merchant(mid, Commodity(5000, "笔记本电脑", "ASUS"))
{

}

void ASUS::Receive(const Message& msg)
{
  std::cout << "----- ASUS官方旗舰店 -----" << std::endl;
  std::cout << "商家编号：" << Merchant::mid_ << std::endl;
  std::cout << "消息来自：" << msg.get_sender() << std::endl;
  std::cout << "消息内容：" << msg.get_msg() << std::endl;
}
